import { http } from '@/utils/http'


//领料下单中新增和编辑保存接口
export function addOrEditesaveRequisition(data) {
  return http({
    url:"/api/raw-material/pick-orders/combined/submit",
    method:"post",
    data
  });
}
//领料下单中详情接口
export function ClaimDetails(orderId) {
  return http({
    url: `/api/raw-material/pick-requirements/by-requirement/${orderId}/details`,
    method: "get",
  });
}

//领料下单删除接口
export function deleteDate1(data) {
  return http({
    url: `/api/raw-material/pick-requirements/delete`,
    method: "post",
    data
  });
}

